//
//  CollisionDelegate.h
//  MessangerSkeleton
//
//  Created by User-16 on 4/24/14.
//  Copyright (c) 2014 IOTrainingCamp. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"

@interface CollisionDelegate : NSObject <CCPhysicsCollisionDelegate, UIAlertViewDelegate>

-(BOOL)ccPhysicsCollisionBegin:(CCPhysicsCollisionPair *)pair player:(CCNode *)nodeA obstacle:(CCNode *)nodeB;
-(void)ccPhysicsCollisionSeparate:(CCPhysicsCollisionPair *)pair player:(CCNode *)nodeA obstacle:(CCNode *)nodeB;

-(BOOL)ccPhysicsCollisionBegin:(CCPhysicsCollisionPair *)pair player:(CCNode *)nodeA finishLine:(CCNode *)nodeB;
-(void)ccPhysicsCollisionSeparate:(CCPhysicsCollisionPair *)pair player:(CCNode *)nodeA finishLine:(CCNode *)nodeB;

-(BOOL)ccPhysicsCollisionBegin:(CCPhysicsCollisionPair *)pair player:(CCNode *)nodeA powerUpSpeedBoost:(CCNode *)nodeB;
-(void)ccPhysicsCollisionSeparate:(CCPhysicsCollisionPair *)pair player:(CCNode *)nodeA powerUpSpeedBoost:(CCNode *)nodeB;

@end
